package com.huarui.part.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.ewaf.framework.model.ListModel;


public class PartListModel extends ListModel<PartProperty>{

	private String code;
	
	private String name;
	
	private Integer source=-1;
	
	private Integer publicanLevel=-1;
	
	private Integer companyId;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public Integer getPublicanLevel() {
		return publicanLevel;
	}

	public void setPublicanLevel(Integer publicanLevel) {
		this.publicanLevel = publicanLevel;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this); 
	}
}
